[main]
filesize=408420
sha512=bb9129a47c2e2099f535dcdefdcd8ddc3c269d5b0b7982d38ce89ce2fb068efba47843cc5e3ba609c30754880b7730504584d1540908b1069253be1b4fd7f113

[mirrors]
http://mirror.anl.gov/pub/linux/utils/usb/usbutils/usbutils-006.tar.xz
ftp://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-006.tar.xz
http://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-006.tar.xz

[deps.host]
dynamic-toolchain

[deps]
libusbx

[build]
[ -n "$CROSS_COMPILE" ] && \
  xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') \
  --with-sysroot=$butch_root_dir"

CFLAGS="$optcflags" \
LDFLAGS="$optldflags" \
  ./configure --prefix="$butch_prefix" $xconfflags \
  --sbindir="$butch_prefix"/bin
make -j$MAKE_THREADS
make DESTDIR="$butch_install_dir" install
